package txc.test.service.api.config;

import com.taobao.txc.client.aop.TxcTransactionScaner;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class TXCConfig {

    @Bean
    public TxcTransactionScaner initScaner(){
        TxcTransactionScaner scaner = new TxcTransactionScaner("test.1318894661226644.BJ");
        scaner.setAccessKey("LTAIFCMtkbqAknVO");
        scaner.setSecretKey("UX9wQBPfQWLxnSnbV4PMJ6IHhCzkWu");
        return scaner;
    }
}
